package org.senseframework.support.orm.hbase.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author wangqian
 * @date 18/4/11 下午3:03
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface HBaseColumn {

    String desc() default "";

    boolean required() default true;

    String defaultValue() default "";

    String family();

    String qualifier() default "";

    ColumnType type() default ColumnType.VALUE;

    Class keyType() default String.class;

    Class valueType() default String.class;
}
